#ifndef TYPE_CONVERTER_H
#define TYPE_CONVERTER_H

#include <QString>
#include <QVariant>
#include <pybind11/embed.h>


namespace pybind11 {
class object;
}

class TypeConverter {
public:
  static QVariant pyObjectToQVariant(const pybind11::object &obj);
  static pybind11::object qVariantToPyObject(const QVariant &variant);
  static bool isConvertible(const QVariant &variant);
};

#endif // TYPE_CONVERTER_H